package cn.epsilon3.domain.e3.dto.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @description 资源操作入参
 *
 * @author: epsilon3
 * @date: 2023/11/06 10:56
 */
@Data
public class E3ResourceQuery implements Serializable {

    private static final long serialVersionUID = -45265685745614654L;


    /**
     * 资源名称
     */
    @ApiModelProperty(value = "资源名称",example = "功能资源管理")
    private String resourceName;

    /**
     * 资源类型
     */
    @ApiModelProperty(value = "资源类型",example = "R")
    private String resourceType;

    /**
     * 资源参数
     */
    @ApiModelProperty(value = "资源参数",example = "query1=1&query2=2")
    private String resourceParams;

    /**
     * 资源路径
     */
    @ApiModelProperty(value = "资源路径",example = "/resources/menuResource")
    private String resourcePath;

    /**
     * 资源权限标识符，只对功能有效
     */
    @ApiModelProperty(value = "资源权限标识符，只对功能有效",example = "system:resource:list")
    private String resourcePerms;

    /**
     * 是否弃用 0启用 1弃用
     */
    @ApiModelProperty(value = "是否弃用 0启用 1弃用",example = "0")
    private Integer effective;
}
